package rmi;

import java.io.Serializable;

/**
 * 
 * Representa a informação de um jogo
 *
 */
public class ActiveGame implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2738514683477246679L;
	boolean active;
	String namePlayer1,namePlayer2;

	ActiveGame(boolean active, String namePlayer1,String namePlayer2){

		this.active=active;
		this.namePlayer1=namePlayer1;
		this.namePlayer2=namePlayer2;

	}
	
	public boolean isActive() {
		return active;
	}
	
	public String getNamePlayer1() {
		return namePlayer1;
	}
	
	public String getNamePlayer2() {
		return namePlayer2;
	}
	
	public void setActive(boolean active) {
		this.active = active;
	}
}